<?php

function get_bg_color($season, $match_round) {
    $current_season = get_user_profile('season');
    $current_match_round = get_user_profile('match_round');

    if($season == $current_season AND $match_round == $current_match_round)
        $bg_color = "class=current_match_round";
    else
        $bg_color = NULL;
    return $bg_color;
}
?>